package com.example.ai.repository;

import com.example.ai.service.dto.Roommate;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @author : zhayh
 * @date : 2021-4-24 19:30
 * @description :
 */

@Repository
public interface RoommateRepository extends JpaRepository<Roommate, Long> {
    Roommate findByStudentCode(String studentCode);
}
